<div class="panel panel-default panel-intro">

    <div class="panel-heading">
        {:build_heading(null, FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
            {foreach name="typeList" item="vo"}
            <li><a href="#t-{$key|htmlentities}" data-value="{$key|htmlentities}" data-toggle="tab">{$vo|htmlentities}</a></li>
            {/foreach}
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div id="one" class="tab-pane fade active in">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {if condition="!$choose"}
                            {:build_toolbar('refresh,delete')}
                        {/if}
                        {if condition="$choose"}
                            {:build_toolbar('refresh')}
                            <a class="btn btn-success btn-choose-multi"><i class="fa fa-check"></i> 提交选中</a>
                        {/if}
                        {if condition="!$choose"}
                            <a class="btn btn-success btn-add{:$auth->check('yunfood/food/param/add')?'':' hide'}" href="javascript:" title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>
                        {/if}
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
